package cn.kgc.tangcco.configurer;

import com.baomidou.mybatisplus.extension.plugins.PaginationInterceptor;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author 李昊哲
 * @Description
 * @create 2020/12/30 10:13
 */
@Configuration
public class MyBatisPlusConfigurer {
    @Bean
    public PaginationInterceptor paginationInterceptor() {
        return new PaginationInterceptor();
    }
}
